package com.night.permManager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.night.common.entity.administration.Teacher;
import com.night.common.entity.role.Role;
import com.night.common.entity.student.Student;

import java.util.List;

/**
 * @ClassName: RoleService
 * @Description: //TODO
 * @author: dz
 * @date: 2022-08-31-14:33
 */
public interface RoleService extends IService<Role> {

    public Role getById(int id);

    List<Role> getRoles();

    Student getStudent(String studentNumber);
    Teacher getTeacher(String teacherNumber);
}
